package com.qys.livesMall.finance.service;


import com.qys.livesMall.finance.model.dto.AccountDdetailSearch;
import com.qys.livesMall.finance.model.dto.AccountDetailSearch;
import com.qys.livesMall.finance.model.dto.AccountHandle;
import com.qys.livesMall.finance.model.dto.AccountInOut;
import com.qys.livesMall.finance.model.entity.user.FinanceUserAccount;
import com.qys.livesMall.finance.model.entity.user.FinanceUserAccountDetail;
import com.qys.livesMall.framework.view.QysPage;

import java.util.List;

/**
 * <p>
 * 店铺余额明细 服务类
 * </p>
 *
 * @author
 * @since 2023-06-06
 */
public interface FinanceUserAccountDetailService {

    void add(AccountHandle handle, FinanceUserAccount account);

    void addOtherLog(AccountHandle handle,    FinanceUserAccount balance);
    /**
     * 列表查询
     * @param search
     * @return
     */
    QysPage<FinanceUserAccountDetail> list(AccountDetailSearch search);

    AccountInOut sum(AccountDetailSearch search);


    List<FinanceUserAccountDetail> getbyCode(List<String> codes);

    QysPage<FinanceUserAccountDetail> listPage(AccountDdetailSearch search);

    /**
     * 根据订单编号查询商品名称
     * @param businessNo
     * @return
     */
    List<String> getOrderSkuNameByOrderNo(String businessNo);
}
